home *** CD-ROM | disk | FTP | other *** search
- Path: I980.ssi.stratus.com!not-for-mail
- From: davidm@ssi.stratus.com ()
- Newsgroups: comp.lang.c,comp.unix.programmer
- Subject: Union anomilies
- Date: 5 Mar 1996 20:41:31 GMT
- Organization: Stratus Computer Inc, Marlboro MA
- Message-ID: <4hi8tr$502@transfer.stratus.com>
- References: <4hhuo3$778@transfer.stratus.com>
- Reply-To: David_McReynolds@vos.stratus.com
- NNTP-Posting-Host: i980.ssi.stratus.com
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- I have to maintains code written long before I arrived on the scene here.
- I have a question regarding something I ran into.
-
- What issues should I be concerned with regarding typedefed structs that
- have as data members unions and who are themselves used in unions inside
- other typedefed structs? The original author had presence of mind enough
- to be concerned about data alignment as witnessed by the #pragma specifiying
- 2 byte alignment.
-
- Any suggestions as to reference material would be helpful. Things just
- aren't quite where I expect them to be....
-
- I guess I should mention that the platform is an IBM RS6000 running
- AIX 3.2.5.
-
- Dave
-